package com.czy.daishusys.entity;

import java.util.List;

/**
 * Created by hedepu on 2017-11-29
 */

public class BaseList<T> {
    private int totlalRow;
    private int pageNumber;
    private boolean firstPage;
    private boolean lastPage;
    private int pageSize;
    private List<T> list;

    public int getTotlalRow() {
        return totlalRow;
    }

    public void setTotlalRow(int totlalRow) {
        this.totlalRow = totlalRow;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
